.class final LVitxI/jtHon/xDjdg/XUftv;
.super Ljava/lang/Object;

# interfaces
.implements LAEisT/jqaCk;


# instance fields
.field private pJsvP:Z

.field private final skPyC:LAEisT/xIJUf;

.field final synthetic yGUbd:LVitxI/jtHon/xDjdg/ZhEDg;


# direct methods
.method private constructor <init>(LVitxI/jtHon/xDjdg/ZhEDg;)V
    .locals 2

    iput-object p1, p0, LVitxI/jtHon/xDjdg/XUftv;->yGUbd:LVitxI/jtHon/xDjdg/ZhEDg;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    new-instance v0, LAEisT/xIJUf;

    iget-object v1, p0, LVitxI/jtHon/xDjdg/XUftv;->yGUbd:LVitxI/jtHon/xDjdg/ZhEDg;

    invoke-static {v1}, LVitxI/jtHon/xDjdg/ZhEDg;->mpDMx(LVitxI/jtHon/xDjdg/ZhEDg;)LAEisT/Xcscn;

    move-result-object v1

    invoke-interface {v1}, LAEisT/Xcscn;->RRPdk()LAEisT/Keicq;

    move-result-object v1

    invoke-direct {v0, v1}, LAEisT/xIJUf;-><init>(LAEisT/Keicq;)V

    iput-object v0, p0, LVitxI/jtHon/xDjdg/XUftv;->skPyC:LAEisT/xIJUf;

    return-void
.end method

.method synthetic constructor <init>(LVitxI/jtHon/xDjdg/ZhEDg;LVitxI/jtHon/xDjdg/AsWtG;)V
    .locals 0

    invoke-direct {p0, p1}, LVitxI/jtHon/xDjdg/XUftv;-><init>(LVitxI/jtHon/xDjdg/ZhEDg;)V

    return-void
.end method


# virtual methods
.method public BtKiz(LAEisT/OyUcY;J)V
    .locals 2

    iget-boolean v0, p0, LVitxI/jtHon/xDjdg/XUftv;->pJsvP:Z

    if-eqz v0, :cond_0

    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    const-wide/16 v0, 0x0

    cmp-long v0, p2, v0

    if-nez v0, :cond_1

    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, LVitxI/jtHon/xDjdg/XUftv;->yGUbd:LVitxI/jtHon/xDjdg/ZhEDg;

    invoke-static {v0}, LVitxI/jtHon/xDjdg/ZhEDg;->mpDMx(LVitxI/jtHon/xDjdg/ZhEDg;)LAEisT/Xcscn;

    move-result-object v0

    invoke-interface {v0, p2, p3}, LAEisT/Xcscn;->Rqzmw(J)LAEisT/Xcscn;

    iget-object v0, p0, LVitxI/jtHon/xDjdg/XUftv;->yGUbd:LVitxI/jtHon/xDjdg/ZhEDg;

    invoke-static {v0}, LVitxI/jtHon/xDjdg/ZhEDg;->mpDMx(LVitxI/jtHon/xDjdg/ZhEDg;)LAEisT/Xcscn;

    move-result-object v0

    const-string v1, "\r\n"

    invoke-interface {v0, v1}, LAEisT/Xcscn;->BkwXj(Ljava/lang/String;)LAEisT/Xcscn;

    iget-object v0, p0, LVitxI/jtHon/xDjdg/XUftv;->yGUbd:LVitxI/jtHon/xDjdg/ZhEDg;

    invoke-static {v0}, LVitxI/jtHon/xDjdg/ZhEDg;->mpDMx(LVitxI/jtHon/xDjdg/ZhEDg;)LAEisT/Xcscn;

    move-result-object v0

    invoke-interface {v0, p1, p2, p3}, LAEisT/Xcscn;->BtKiz(LAEisT/OyUcY;J)V

    iget-object v0, p0, LVitxI/jtHon/xDjdg/XUftv;->yGUbd:LVitxI/jtHon/xDjdg/ZhEDg;

    invoke-static {v0}, LVitxI/jtHon/xDjdg/ZhEDg;->mpDMx(LVitxI/jtHon/xDjdg/ZhEDg;)LAEisT/Xcscn;

    move-result-object v0

    const-string v1, "\r\n"

    invoke-interface {v0, v1}, LAEisT/Xcscn;->BkwXj(Ljava/lang/String;)LAEisT/Xcscn;

    goto :goto_0
.end method

.method public RRPdk()LAEisT/Keicq;
    .locals 1

    iget-object v0, p0, LVitxI/jtHon/xDjdg/XUftv;->skPyC:LAEisT/xIJUf;

    return-object v0
.end method

.method public declared-synchronized close()V
    .locals 2

    monitor-enter p0

    :try_start_0
    iget-boolean v0, p0, LVitxI/jtHon/xDjdg/XUftv;->pJsvP:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    if-eqz v0, :cond_0

    :goto_0
    monitor-exit p0

    return-void

    :cond_0
    const/4 v0, 0x1

    :try_start_1
    iput-boolean v0, p0, LVitxI/jtHon/xDjdg/XUftv;->pJsvP:Z

    iget-object v0, p0, LVitxI/jtHon/xDjdg/XUftv;->yGUbd:LVitxI/jtHon/xDjdg/ZhEDg;

    invoke-static {v0}, LVitxI/jtHon/xDjdg/ZhEDg;->mpDMx(LVitxI/jtHon/xDjdg/ZhEDg;)LAEisT/Xcscn;

    move-result-object v0

    const-string v1, "0\r\n\r\n"

    invoke-interface {v0, v1}, LAEisT/Xcscn;->BkwXj(Ljava/lang/String;)LAEisT/Xcscn;

    iget-object v0, p0, LVitxI/jtHon/xDjdg/XUftv;->yGUbd:LVitxI/jtHon/xDjdg/ZhEDg;

    iget-object v1, p0, LVitxI/jtHon/xDjdg/XUftv;->skPyC:LAEisT/xIJUf;

    invoke-static {v0, v1}, LVitxI/jtHon/xDjdg/ZhEDg;->jKDuS(LVitxI/jtHon/xDjdg/ZhEDg;LAEisT/xIJUf;)V

    iget-object v0, p0, LVitxI/jtHon/xDjdg/XUftv;->yGUbd:LVitxI/jtHon/xDjdg/ZhEDg;

    const/4 v1, 0x3

    invoke-static {v0, v1}, LVitxI/jtHon/xDjdg/ZhEDg;->Stsip(LVitxI/jtHon/xDjdg/ZhEDg;I)I
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized flush()V
    .locals 1

    monitor-enter p0

    :try_start_0
    iget-boolean v0, p0, LVitxI/jtHon/xDjdg/XUftv;->pJsvP:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    if-eqz v0, :cond_0

    :goto_0
    monitor-exit p0

    return-void

    :cond_0
    :try_start_1
    iget-object v0, p0, LVitxI/jtHon/xDjdg/XUftv;->yGUbd:LVitxI/jtHon/xDjdg/ZhEDg;

    invoke-static {v0}, LVitxI/jtHon/xDjdg/ZhEDg;->mpDMx(LVitxI/jtHon/xDjdg/ZhEDg;)LAEisT/Xcscn;

    move-result-object v0

    invoke-interface {v0}, LAEisT/Xcscn;->flush()V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method
